import request from '@/utils/myRequest'

// 获取素材列表
function findMaterialByPage(start, limit) {
  return request({
    url: `/lejuAdmin/material/findMaterialByPage/${start}/${limit}`
  })
}
// 删除素材
function delMaterial(id) {
  return request({
    url: `/lejuAdmin/material/delMaterial/${id}`,
    method: 'DELETE'
  })
}
export { findMaterialByPage, delMaterial }
